/*
 * Piece.cpp
 *
 *  Created on: 13.10.2010
 *      Author: jilly
 */

#include "Piece.h"

Piece::Piece(unsigned int x, unsigned int y)
{
	this->moveTo(x,y);
}

unsigned int Piece::getX() const {
	return x;
}

unsigned int Piece::getY() const
{
	return y;
}

void Piece::moveTo(unsigned int x, unsigned int y)
{
	this->x = x;
	this->y = y;
}
